Hello all,
I’m running into an issue where I am getting the following error when I try to update my incident:
{
“error”: {
“message”: “Not Found”,
“code”: 2100
}
}
My request looks something like this:
https://api.pagerduty.com/incidents/<INCIDENT_ID>
Headers:
Accept: application/vnd.pagerduty+json;version=2
Authorization: Token token=<MY_TOKEN>
From: <MY_EMAIL>
Accept: application/json
Content-Type: application/json
Body:
{
“incident”: {
“type”: “incident”,
“title”: “TEST INCIDENT”,
“service”: {
“id”: “<MY_SERVICE_ID>”,
“type”: “service_reference”
},
“urgency”: “low”,
“body”: {
“type”: “incident_body”,
“details”: “TEST DETAILS”
}
}
}
If I make this call in Postman using the PagerDuty collection of calls, it works fine. However, when I try to run the call from anywhere else, it doesn’t work.
Also, if I do the exact same Headers/Body but change the request to a create, it works (creating a new ticket).
Any idea what I could be missing here? I appreciate any help.
Thanks